package com.ciei.dpagm.mapper;

import com.ciei.dpagm.common.mapper.ExpandBaseMapper;
import com.ciei.dpagm.entity.DriverLibraryDirectory;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author wangyan
 * @date 2023/05/08
 */
public interface DriverLibraryDirectoryMapper extends ExpandBaseMapper<DriverLibraryDirectory> {

    /**
     * 查询父目录及所有子目录ID集合
     * @param parentDirectoryId
     * @return
     */
    List<Map<String,Object>> oneLevelDirectory(@Param("parentDirectoryId") Integer parentDirectoryId);

}
